/*
 * @Author: 'zhangkeqq' '2211709169@qq.com'
 * @Date: 2025-07-25 17:54:18
 * @LastEditors: 'zhangkeqq' '2211709169@qq.com'
 * @LastEditTime: 2025-07-29 14:31:53
 * @FilePath: \vue3-admin-node\vue3-admin\src\api\userinfo\type.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export interface bindFormData{
    account:number | string,
    onlyId: string,
    url:string
}

export interface passwordFormData{
    id:string | null,
    oldPassword:string,
    newPassword:string,
}

export interface nameFormData{
    name:string,
    id:string  | null,
}

export interface sexFormData{
    sex:string,
    id:string | null,
}

export interface emailFormData{
    email:string,
    id:string | null,
}

export interface createAdminFormData{
    id?:string | number,
    account?:string | number,
    password?:string,
    name:string,
    sex:string,
    department:string,
    email:string,
    identity?:string,
}
 
export interface changeIdentityToAdminForm {
    id:string | number,
    identity:string
}

export interface searchUserForm {
    account:number,
    identity:string,
}

export interface banHotUserForm {
    status:number,
    id:string | number
}

export interface adminListForm {
     account?:number | string,
     identity:string,
     page:number,
     pageSize:number
}